Set up the HarmonyOS SDK
- Go to Preferences > SDKs > HarmonyOS.
- In HarmonyOS SDK location, enter the directory that has the
sdkandbindirectories in it, or select Auto-detect to look for one in the usual places. The label below the field says what was found. - In Additional packages, enter the installation prefix of the third-party libraries built for HarmonyOS, which is the directory their
libis in. Qt Creator passes it to the build asQT_ADDITIONAL_PACKAGES_PREFIX_PATH, which adds the libraries into the package. Without them, the application installs and starts but cannot load the platform plugin. - Keep Create kits automatically selected to have Qt Creator offer a kit for every Qt for HarmonyOS it knows about.
Once the SDK location is set, the compilers in it appear in Preferences > Kits > Compilers, and a device that hdc reports appears in Preferences > Devices > Devices, without any further configuration.
See also Developing for HarmonyOS devices, How to: Develop for HarmonyOS, and Sign HarmonyOS packages.